package com.css.fxfzypg.modules.suggestinfo.manage.emergencydisposalManage.repository;

import com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.vo.ParamsVo;
import com.css.fxfzypg.modules.suggestinfo.manage.emergencydisposalManage.repository.entity.EmergencyDisposalManageEntity;
import com.css.fxfzypg.modules.suggestinfo.manage.vo.ParamVo;

import java.util.List;
import java.util.Map;

public interface EmergencyDisposalManageRepository {
    boolean save(EmergencyDisposalManageEntity emergencyDisposalManageEntity);

    EmergencyDisposalManageEntity getDataById(String id);

    Map<String, Object> getDataList(ParamVo paramVo, int curPage, int pageSize);

    boolean update(EmergencyDisposalManageEntity emergencyDisposalManageEntity);

    boolean delete(String id);

    int getCount(String provinceId, String cityId, String areaId);

    String getId(String provinceId, String cityId, String areaId);

    EmergencyDisposalManageEntity getEmergencyDisposalManageData(ParamsVo paramsVo);

    List<EmergencyDisposalManageEntity> getEmergencyDisposalManageAreaData(ParamsVo paramsVo);

    List<EmergencyDisposalManageEntity> getEmergencyDisposalManage(String province, String city, List<String> collect);

    EmergencyDisposalManageEntity getgetByProvinceCityCounty(String provinceId, String cityId, String areaId);

    Integer countByCounty(String p, String city, String county);
}
